home *** CD-ROM | disk | FTP | other *** search
/ Aminet 40 / Aminet 40 (2000)(Schatztruhe)[!][Dec 2000].iso / Aminet / hard / hack / TestGear2.lha / TestGear2 / Project6 / Info < prev    next >
Encoding:
Text File  |  2000-09-10  |  9.2 KB  |  212 lines

  1.  
  2.                  The Analogue to Didital Converter project.
  3.                  ------------------------------------------
  4.  
  5.   Overview:-
  6.   ----------
  7.  
  8.   This project will enable you to use the parallel port to input voltages
  9.   from 0 to +5 Volts positive and display this voltage as a number in a test
  10.   window. When built it will be used with other projects to measure all
  11.   types of signals whether they be DC, AC, voltage, current, power etc..
  12.   using the correct type of software. With some minor modifications this will
  13.   be used to make an oscilloscope. The first unit was built on a prototype
  14.   EuroCard and was hard wired on the underside of the card. This will be
  15.   the device to be described, although I have drawn a board layout for you
  16.   that is NOT to scale at all. There are no instructions on how to fit this
  17.   unit into a box. This will give you a chance to modify a standard box,
  18.   drill any holes, cut out any slots that may be required to finish the unit
  19.   off and then finally label it.
  20.  
  21. ----------------------------------------------------------------------------
  22.  
  23.   The Parts List:-
  24.   ----------------
  25.  
  26.   For the first part of this project use the parts that are required for
  27.   ~Circuit_1~ only. Do NOT fit R3, R4, RV2, ZD2 and SK1 at this point. I
  28.   have included some suppliers references for the special items. The rest
  29.   can be sourced from any supplier.
  30.  
  31. ----------------------------------------------------------------------------
  32.  
  33.   The Construction Proper:-
  34.   -------------------------
  35.  
  36.   1) Do NOT trust any markings on the EuroCard, they may be wrong!!
  37.   2) Fit the 25 way ~D~ type plug to the EuroCard first. Check that the
  38.      marking on the board at position ~1~ is ths SAME as pin ~1~ on the
  39.      plug. If it is NOT the same then ignore all markings on the EuroCard.
  40.      Fit this on to the NONE print side of the board.
  41.   3) Fit the IC socket so that pin ~1~ is facing the same way as pin ~1~ on
  42.      the ~D~ type plug. Fit this on the NONE print side of the board.
  43.      When these are fitted MARK with CARE pin ~1~ on BOTH sides of the board
  44.      so that you know where they are when you start adding the other
  45.      components. An error at this point WILL be catastrophic on power up.
  46.  
  47.   Fit these remaining items on the print side of the board:-
  48.   ----------------------------------------------------------
  49.  
  50.   4) Connect R2 from pin ~4~ to pin ~19~ on the IC holder.
  51.   5) Connect C1 from pin ~4~ to pin ~2~ on the IC holder.
  52.   6) Connect R1 from pin ~20~ to pin ~9~ on the IC holder.
  53.   7) Connect ZD1 from pin ~9~ to pin ~10~ on the IC holder, the BAND going
  54.      to pin ~9~.
  55.   8) Hard wire the IC socket to the ~D~ type plug as follows:-
  56.  
  57.            IC1 PIN(S)                TO                 PL1 PIN(S)
  58.            ----------                                   ----------
  59.                 3               CONTROL LINE                 1
  60.                 5               CONTROL LINE                10
  61.                20                +5V SUPPLY                 14
  62.   GROUND - 1,2,7,8,10 ------- CONNECT TOGETHER - 17,18,19,20,21,22,23,24,25
  63.                18                DATA LINE 0                 2
  64.                17                DATA LINE 1                 3
  65.                16                DATA LINE 2                 4
  66.                15                DATA LINE 3                 5
  67.                14                DATA LINE 4                 6
  68.                13                DATA LINE 5                 7
  69.                12                DATA LINE 6                 8
  70.                11                DATA LINE 7                 9
  71.                
  72.   9) Connect a RED wire from pin ~14~ of PL1 to one outside tag of RV1.
  73.  10) Connect a BLACK wire from pin ~25~ of PL1 to the opposite oustide tag
  74.      of RV1.
  75.  11) Connect a BLUE wire from pin ~6~ of the IC holder to the centre tag
  76.      of RV1.
  77.  12) Plug the IC (IC1) into the holder, ensuring that pin ~1~ is in the
  78.      correct position.
  79.  13) CHECK all of your work. RECHECK all of your work again. CHECK against
  80.      the circuit diagram, ~Circuit_1~.
  81.  14) Check for short circuits, errors, faulty joints and components in the
  82.      wrong place. Correct as required.
  83.  15) Remember... an error at this point could result in a failure of your
  84.      computer when you power up.
  85.  16) Even a professional like myself has been known to make catastrophic
  86.      errors when building prototype equipment.
  87.  17) When you are sure that you have constructed the A-D Converter properly
  88.      you are now ready to connect to your computer.
  89.  
  90. ----------------------------------------------------------------------------
  91.  
  92.   Testing the A-D Converter:-
  93.   ---------------------------
  94.  
  95.   1) Switch off the AMIGA.
  96.   2) Plug the A-D Converter board into the parallel port.
  97.   3) Boot up the AMIGA.
  98.   4) Start the ~Parallel_Test~ software. This will be a small window with
  99.      a number between 0 and 255 showing.
  100.   5) Rotate the potentiometer RV1 in either direction and this number will
  101.      change between a minimum of 0 to a maximum of 255. If you get this
  102.      result then Well Done. Switch off the AMIGA and disconnect the A-D
  103.      Converter. It is working correctly.
  104.   6) If you do NOT get this result switch of the AMIGA and disconnect the
  105.      A-D Converter. RECHECK all of your work, repair as neccessary and retry
  106.      1) to 5).
  107.  
  108. ----------------------------------------------------------------------------
  109.  
  110.   Finishing off the A-D Converter proper:-
  111.   ----------------------------------------
  112.  
  113.   Parts List:-
  114.   ------------
  115.  
  116.   You will now require the parts for ~Circuit_2~ to finish off this project.
  117.  
  118. ----------------------------------------------------------------------------
  119.  
  120.   Wiring information part 2:-
  121.   ---------------------------
  122.  
  123.   1) Disconnect the RED wire from pin ~14~ of PL1.
  124.   2) Disconnect the BLACK wire from the tag of RV1. Do NOT disconnect this
  125.      wire from pin ~25~ of PL1.
  126.   3) Disconnect the BLUE wire from pin ~6~ of the IC holder.
  127.   4) Connect ZD2 from pin ~6~ to pin ~8~ of the IC holder, the BAND going
  128.      to pin ~6~.
  129.   5) Fit the preset variable resistor on the NONE print side of the board
  130.      about 10 holes away from pin ~6~ of the IC holder.
  131.   6) Connect R3 from pin ~6~ of the IC holder to the centre tag of RV2.
  132.      Use insulation sleeving as required.
  133.   7) Connect R4 from pin ~10~ of the IC holder to one of the outside tags
  134.      of RV2. Use insulation sleeving as required.
  135.   8) Connect the opposite outside tag of RV2 to the inner conductor of a
  136.      PHONO/RCA socket.
  137.   9) Connect the body of the PHONO/RCA socket to the remaining BLACK wire.
  138.  10) CHECK all of your modifications. RECHECK these modifications. CHECK
  139.      against the circuit diagram, ~Circuit_2~.
  140.  11) If all is well then you are now ready to calibrate the A-D Converter.
  141.  12) You will require a new 1.5 Volt cell for calibration purposes.
  142.  
  143. ----------------------------------------------------------------------------
  144.  
  145.   Calibrating the A-D Converter:-
  146.   -------------------------------
  147.  
  148.   You WILL require a 1.5 Volt dry cell type ~R6~. I used an ~EVEREADY~
  149.   RED body ~ULTRA PLUS~ type, although any ZINC/CHLORIDE type will probably
  150.   be alright.
  151.  
  152.   1) Do ~Testing the A-D Converter:-~ parts 1) to 4) first.
  153.   2) The reading in the window should now read 0 (flashing 1).
  154.   3) Connect the 1.5 Volt cell across the RCA input of the A-D Converter
  155.      using the previously made test lead from the Stereo LF Audio Function
  156.      Generator project (Project5), positive to probe tip.
  157.   4) Adjust RV2 to give a value of 85 (flashing 86) in the window.
  158.   5) If all is well then you now have a simple 0 to +5 Volt DC voltmeter.
  159.   6) Run the ~VoltMeter~ software to start using the A-D Converter proper.
  160.  
  161. ----------------------------------------------------------------------------
  162.  
  163.   Volt Meter Specifications:-
  164.   ---------------------------
  165.  
  166.   Voltage Range..........................  0 to +5 Volts.
  167.   Resolution.............................  20 mV.
  168.   Accuracy...............................  + or - 5% of full scale.
  169.   Input resistance.......................  20 KilOhms.
  170.   Sensitivity............................  4 KilOhms/Volt.
  171.   Test lead(s)...........................  Use ~Project5~ test lead.
  172.  
  173.   WARNING:-
  174.   ---------
  175.  
  176.   1) DO NOT USE ON VOLTAGES GREATER THAN +12 VOLTS.
  177.   2) DO NOT TRY TO MEASURE NEGATIVE VOLTAGES AT ALL.
  178.   3) ANY ATTEMPT TO DO EITHER OF THE ABOVE MAY RESULT IN DAMAGE TO THE
  179.      BOARD AND/OR THE COMPUTER.
  180.   4) ANY VOLTAGES GREATER THAN +5.1 VOLTS WILL LIMIT TO +5.1 ON THE DISPLAY.
  181.  
  182. ----------------------------------------------------------------------------
  183.  
  184.   And finally:-
  185.   -------------
  186.  
  187.   This circuit board will be modified at a much later date for future
  188.   designs. However it is good for most of the projects to come.
  189.   There is an image of 320x200xHAM of my origonal prototype in this drawer.
  190.   It is called ~Prototype_Board.ham~. You will require some type of ~HAM~
  191.   viewing software to see it. I did not bother to write one as this image
  192.   is unimportant to the overall package.
  193.  
  194. ----------------------------------------------------------------------------
  195.  
  196.     Mr Barry Walker,
  197.     70 King George Road,
  198.     Loughborough,
  199.     Leicestershire,
  200.     LE11 2PA,
  201.     England.
  202.  
  203.     Email to:-
  204.  
  205.     106161.3245@compuserve.com
  206.     or
  207.     wisecracker@tesco.net
  208.  
  209.     BYE.....
  210.  
  211. ----------------------------------------------------------------------------
  212.